<?php
$file = $_GET['img'];
header("Content-disposition: attachment; filename= ".$file."");
header("Content-type: application/pdf");
readfile($file);
?>